List of all active Users in a Module, Folder,Project,Group for TLP

Dear All,

Can anyone please tell me how to retreive the list of active users from different groups,Projects,Folders and modules present in a Top level Project.
Thanks in Advance.
SystemAdmin - Mon Jul 02 06:13:09 EDT 2012

Re: List of all active Users in a Module, Folder,Project,Group for TLP
llandale - Mon Jul 02 16:06:40 EDT 2012

There is no "for Group in User do" loop. There is a "for User in Group do" loop, and also a "bool member(Group, User) function. So to find all the Groups of a user you'd do this:
  • User usr = find("OtherName")
  • for grp in groupList do
  • { if (member(grp, usr)) then User is in the Group
  • }

Don't know what you mean "users in a project". Users that have access to the project? That's a real sticky script.

-Louie